<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Ajax Login and List</title>
<script src="js/jquery-1.3.2.js"></script>
<script>
function addPerson() {
	$.get("/struts2Fill/addPerson.action",function(data){
	    $("#resultContainer").html("<ul><li>Wow!</li><li>Such excitement...</li></ul>");		
	});
}


</script>

</head>
<body>
<form id="myForm">
	<div id="loginEntryContainer">
	  <p/>Username: <input type="text" id="username" /> 
	  <input type="button" value="Add" onclick="addPerson();"/> <p/>
	  Password: <input type="password" id="password" /> 
	  <p/>
	  <input type="button" id="doneButton" value="Done" disabled="disabled" onClick="alert('Done');"/> <p/>
	</div>

	<div id="resultContainer">
	result will go here
	</div>
</form>
</body>
</html>
